﻿using System.Configuration;

namespace Ma.Bussiness.ConfigExtend;

public static class StaticField
{
    /// <summary>
    /// 工厂生成DAL的配置文件
    /// </summary>
    public readonly static string IBaseDALConfig = ConfigurationManager.ConnectionStrings["IBaseDALConfig"].ConnectionString;

    public static string Connection = ConfigurationManager.ConnectionStrings["HomeworkDB"].ConnectionString;
    public static string ModelFilePath = ConfigurationManager.AppSettings["ModelFilePath"];
    private static string DLL_TYPE = ConfigurationManager.ConnectionStrings["DllSetting"].ConnectionString;
    public static string DllTypeName = DLL_TYPE.Split(',')[0];
    public static string DllName = DLL_TYPE.Split(',')[1];
    public static string LogPath = AppDomain.CurrentDomain.BaseDirectory;
}
